package com.miaoan.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 日志表
 * @TableName log
 */
@TableName(value ="log")
@Data
public class Log implements Serializable {
    /**
     * 日志id
     */
    @TableId(type = IdType.AUTO)
    private Long logId;

    /**
     * 操作日志
     */
    private String logOperation;

    /**
     * 操作时间
     */
    private Date logDate;

    /**
     * 医生id
     */
    private Long doctorId;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}